fig = px.scatter(df_cleaned, y="ingredient_total", x="sugar_total", height=500) fig.show()

# Reshape the variables into NumPy arrays and put them into separate objects. X = df_cleaned['Carbohydrate'].values.reshape(-1,1) y = df_cleaned['category_counts'].values.reshape(-1,1)

df_cleaned.info()